From: Eli Zaretskii Date: Sat, 28 Feb 2009 14:01:12 +0000 (+0000) Subject: (boot): Don't require b-emacs.exe if not building out of CVS. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~421^2~1486 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=d118f56dde5527de8d4ae95103fb08f1fb48aaf6;p=emacs.git (boot): Don't require b-emacs.exe if not building out of CVS. --- diff --git a/msdos/mainmake.v2 b/msdos/mainmake.v2 index 55bb2087f24..c77c41a2ba5 100644 --- a/msdos/mainmake.v2 +++ b/msdos/mainmake.v2 @@ -67,11 +67,17 @@ top_srcdir := $(subst \,/,$(shell cd)) # Find out which version of Emacs this is. version := ${shell sed -n -e '/(defconst emacs-version/s/^[^"]*\("[^"]*"\).*/\1/p' lisp/version.el} -# Do we need to bootstrap? +# Q: Do we need to bootstrap? +# A: Only if we find admin/admin.el, i.e. we are building out of CVS, +# and src/b-emacs.exe does not exist. This avoids building a +# bootstrap-emacs and recompiling Lisp files when building a +# pretest/release tarball. boot := +ifneq ($(wildcard admin/admin.el),) ifeq ($(wildcard src/b-emacs.exe),) boot := b-emacs.exe endif +endif # Subdirectories to run Make. `lisp' is not included because the # compiled lisp files are part of the distribution. (If we are